import Vue from 'vue'
import Router from 'vue-router'
import index from '../pages/index'
import seven_hot_yuQing_rank from "../pages/seven_hot_yuQing/seven_hot_yuQing_rank";
import today_yuQing_detail from "../pages/today_yuQing/today_yuQing_detail";
import yuQing_map_detail from "../pages/yuQing_map/yuQing_map_detail";

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'index',
      component: index,
    },
    {
      path: "/seven_hot_rank",
      component:seven_hot_yuQing_rank
    },
    {
      path:'/today_yuqing_detail/:yuqing_id',
      component:today_yuQing_detail
    },
    {
      path:'/yuQing_map_detail',
      component:yuQing_map_detail
    }
  ]
})
